@url searchImage searchSearchImage;
@url clearImage searchClearImage;
@url clearTouchedImage searchClearTouchedImage;

@if mgwt.css pretty {
	@external mgwt-SearchBox, round, input, clear, clear-active;
	
}

/**
  Search Box
*/
.mgwt-SearchBox {
	height: 44px;
	background-color: baseColor;
	background-image: literal('-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255, 0.15)), to(rgba(255,255,255, 0.1)), color-stop(0.5, rgba(0,0,0, 0.1)) )');
	
	padding-left: 5px;
	padding-right: 5px;
}

.mgwt-SearchBox .round {
	\-webkit-background-clip: padding-box;
	background-clip: padding-box;
	background-image: searchImage;
	background-repeat: no-repeat;
	background-position: 10px 50%;
	border-bottom-left-radius: 16px 16px;
	border-bottom-right-radius: 16px 16px;
	border-top-left-radius: 16px 16px;
	border-top-right-radius: 16px 16px;
	width: 100%;
	height: 24px;
	background-color: fontColor;
	display: block;
	position: relative;
	top: 10px;
	margin: 0px;
	padding: 0px;
}

.mgwt-SearchBox .input {
	border: 0;
	\-webkit-appearance: none;
	position: absolute;
	font-size: 13px;
	padding: 0;
	top: 0px;
	left: 25px;
	right: 40px;
	bottom: 0px;
	color: baseColor;
	\-webkit-user-select: text;
	\-webkit-tap-highlight-color: rgba(0,0,0,0);
	background-color: fontColor;
}

.mgwt-SearchBox .clear {
	position: absolute;
	top: 1px;
	right: 20px;
	width: 20px;
	height: 20px;
	font-size: 13px;
	padding: 0;
	background-image: clearImage;
	background-repeat: no-repeat;
	background-position: 0px 50%;
}

.mgwt-SearchBox .clear-active {
	background-image: clearTouchedImage;
}